package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 任务对象 task
 * 
 * @author ruoyi
 * @date 2024-11-18
 */
public class Task extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 任务ID */
    @Excel(name = "任务ID")
    private String taskId;

    /** 托盘编号 */
    @Excel(name = "托盘编号")
    private String palletNo;

    /** 来源位置 */
    @Excel(name = "来源位置")
    private String fromLoc;

    /** 目标位置 */
    @Excel(name = "目标位置")
    private String toLoc;

    /** 任务类型 */
    @Excel(name = "任务类型")
    private String taskType;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customer;

    /** 货品编码 */
    @Excel(name = "货品编码")
    private String itemCode;

    /** 货品名称 */
    @Excel(name = "货品名称")
    private String itemName;

    /** 数量 */
    @Excel(name = "数量")
    private Long qty;

    /** 退货数量 */
    @Excel(name = "退货数量")
    private Long backQty;

    @Excel(name = "状态")
    private String sts;


    public String getSts() {
        return sts;
    }

    public void setSts(String sts) {
        this.sts = sts;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTaskId(String taskId) 
    {
        this.taskId = taskId;
    }

    public String getTaskId() 
    {
        return taskId;
    }
    public void setPalletNo(String palletNo) 
    {
        this.palletNo = palletNo;
    }

    public String getPalletNo() 
    {
        return palletNo;
    }
    public void setFromLoc(String fromLoc) 
    {
        this.fromLoc = fromLoc;
    }

    public String getFromLoc() 
    {
        return fromLoc;
    }
    public void setToLoc(String toLoc) 
    {
        this.toLoc = toLoc;
    }

    public String getToLoc() 
    {
        return toLoc;
    }
    public void setTaskType(String taskType) 
    {
        this.taskType = taskType;
    }

    public String getTaskType() 
    {
        return taskType;
    }
    public void setCustomer(String customer) 
    {
        this.customer = customer;
    }

    public String getCustomer() 
    {
        return customer;
    }
    public void setItemCode(String itemCode) 
    {
        this.itemCode = itemCode;
    }

    public String getItemCode() 
    {
        return itemCode;
    }
    public void setItemName(String itemName) 
    {
        this.itemName = itemName;
    }

    public String getItemName() 
    {
        return itemName;
    }
    public void setQty(Long qty) 
    {
        this.qty = qty;
    }

    public Long getQty() 
    {
        return qty;
    }
    public void setBackQty(Long backQty) 
    {
        this.backQty = backQty;
    }

    public Long getBackQty() 
    {
        return backQty;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskId", getTaskId())
            .append("palletNo", getPalletNo())
            .append("fromLoc", getFromLoc())
            .append("toLoc", getToLoc())
            .append("taskType", getTaskType())
            .append("customer", getCustomer())
            .append("itemCode", getItemCode())
            .append("itemName", getItemName())
            .append("qty", getQty())
            .append("backQty", getBackQty())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
